package com.ufox.service.impl;

import com.ufox.entity.Areas;
import com.ufox.mapper.AreasMapper;
import com.ufox.service.IAreasService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 优狐科技-www.hbufox.com
 * @since 2022-06-09
 */
@Service
public class AreasServiceImpl extends ServiceImpl<AreasMapper, Areas> implements IAreasService {

    @Autowired
    private AreasMapper areasMapper;

    @Override
    public List<Areas> findById(Integer id) {
        return areasMapper.findById(id);
    }
}
